package com.skyvin.nreceipts.receipts.service;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class ImageSchedulerService {
	private Logger logger = Logger.getLogger(ReceiptUploadService.class);
	
	@Autowired ReceiptUploadService receiptUploadService;  

	@Scheduled(fixedDelay=60000)
	public void mergeImages() {
		receiptUploadService.mergeImages();
	}
}
